-
Notifications
You must be signed in to change notification settings - Fork 63
Conversation
Set the input text to use `paragraph-large` (16px, line-height 190%) for widths less than `md`
Storybook and Tailwind configuration previews: Ready Storybook: https://wordpress.github.io/openverse-frontend/_preview/2160 Please note that GitHub pages takes a little time to deploy newly pushed code, if the links above don't work or you see old versions, wait 5 minutes and try again. You can check the GitHub pages deployment action list to see the current status of the deployments. |
Size Change: -4.17 kB (0%) Total Size: 894 kB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks excellent. Great work ✨
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I am still confused what I did different because I just couldn't get it to work, even with the large font size.
src/styles/tailwind.css
Outdated
Heading 5 - 19px - 3xl semibold | ||
Heading 6 - 16px - 2xl semibold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: 'semibold' is a valid word & the name of the corresponding Tailwind class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I am still confused what I did different because I just couldn't get it to work, even with the large font size.
I wonder if the line height helped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a relief! LGTM.
Fixes
Fixes #2151 by @panchovm
Description
This PR sets the input text to use
paragraph-large
style (16px, line-height 190%) for widths less thanmd
.paragraph-large
style was usingleading-larger
, which was causing not-found errors during build. I replaced it withleading-[190%]
. The line-height tailwind styles need to be fixed and will be fixed in later PRs.Also, WebStorm complains that
semibold
is incorrect, so I replaced it withsemi-bold
:)Testing Instructions
Use iPhone and search for something from the homepage. You should not see the zooming as in the description of the linked issue.
Checklist
Update index.md
).main
) ora parent feature branch.
errors.
Developer Certificate of Origin
Developer Certificate of Origin